<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格学习</title>
</head>
<body>
<!--table表格标签
行：tr
列：td
给表格加边框：border="1px"

-->
<table border="1px">
    <!--2行3列的表格-->
    <tr>
        <td>1-1</td>
        <td>1-2</td>
        <td>1-3</td>
    </tr>
    <tr>
        <td>2-1</td>
        <td>2-2</td>
        <td>2-3</td>
    </tr>
</table>

<hr>
<table border="1px">
    <tr>
        <!--colspan：跨列-->
        <td colspan="3">跨3列</td>
    </tr>
    <tr>
        <td rowspan="2">2.1</td>
        <td>2.2</td>
        <td>2.3</td>
    </tr>
    <tr>
        <td>3.1</td>
        <td>3.2</td>
    </tr>
</table>

</body>
</html>